package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.cloud.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台菜单表
 * </p>
 *
 * @author JackGu
 * @since 2022-09-11
 */
@Data
@TableName("ums_menu")
@ApiModel(value = "UmsMenu对象", description = "后台菜单表")
public class UmsMenu extends BaseEntity {

private static final long serialVersionUID=1L;

        @ApiModelProperty("父级ID")
    @TableField("parent_id")
        private Long parentId;

        @ApiModelProperty("菜单名称")
    @TableField("title")
        private String title;

        @ApiModelProperty("菜单级数")
    @TableField("level")
        private Integer level;

        @ApiModelProperty("菜单排序")
    @TableField("sort")
        private Integer sort;

        @ApiModelProperty("前端名称")
    @TableField("name")
        private String name;

        @ApiModelProperty("前端图标")
    @TableField("icon")
        private String icon;

        @ApiModelProperty("前端隐藏")
    @TableField("hidden")
        private Integer hidden;


    public static final String PARENT_ID ="parent_id";

    public static final String TITLE ="title";

    public static final String LEVEL ="level";

    public static final String SORT ="sort";

    public static final String NAME ="name";

    public static final String ICON ="icon";

    public static final String HIDDEN ="hidden";

        }
